home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / By the Book / Learn C++ (CodeWarrior) / Chap 08.01 - readMe / readMe.cp < prev    next >
Text File  |  1995-10-21  |  155b  |  13 lines

  1. #include <iostream.h>
  2. #include <fstream.h>
  3.  
  4. int    main()
  5. {
  6.     ifstream    readMe( "My File" );
  7.     char        c;
  8.     
  9.     while ( readMe.get( c ) )
  10.         cout << c;
  11.     
  12.     return 0;
  13. }